package cn.bestick.cblog.dmo;

import java.util.Date;

/**
 * 与Msg表字段一一对应
 * 
 * */
public class Msg {
	private Integer id;
	private Integer userId;
	private Integer type;
	private Integer pid;
	private String content;
	private Date pubDate;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getPubDate() {
		return pubDate;
	}

	public void setPubDate(Date pubDate) {
		this.pubDate = pubDate;
	}

	@Override
	public String toString() {
		return "Msg [id=" + id + ", userId=" + userId + ", type=" + type
				+ ", pid=" + pid + ", content=" + content + ", pubDate="
				+ pubDate + "]";
	}

}
